Solution:
def euclidean_distance(x, y): squared_diff = [(i - j)**2 for i, j in zip(x, y)] return (sum(squared_diff)) ** 0.5